import { Controller, Get, Post, Body, Patch, Param, Delete } from '@nestjs/common'
import { SearchService } from './search.service'
import { InputContent } from './dto/create-search.dto'

@Controller('search')
export class SearchController {
   constructor(private readonly searchService: SearchService) {}

   @Post()
   findAll(@Body() inputContent: InputContent) {
      return this.searchService.findAll(inputContent)
   }
}
